import Layout from '@/layout'

const bashboard = {
  path: '/',
  component: Layout,
  redirect: '/home',
  name: 'home',
  meta: {
    title: '首页',
    icon: 'el-icon-s-home'
  },
  children: [
    {
      path: 'home',
      name: 'home',
      component: () => import('@/views/dashboard/Index'),
      meta: { title: '首页', icon: 'el-icon-s-home', affix: true }
    }
  ]
}

export default bashboard
